package cn.edu.gduf.luowowo.ask.mapper;

import cn.edu.gduf.luowowo.ask.domain.Question;
import cn.edu.gduf.luowowo.ask.domain.QuestionTag;

import java.util.List;

public interface QuestionTagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(QuestionTag record);

    QuestionTag selectByPrimaryKey(Long id);

    List<QuestionTag> selectAll();

    List<QuestionTag> selectByQuestionId(Long questionId);

    int updateByPrimaryKey(QuestionTag record);

    List<String> selectAllName();

    QuestionTag selectByName(String name);


}